﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace SystemContainer.Models
{
    public class AreaOfInterest :Location
    {
        [Key, Column(Order = 0)]
        public int AreaOfInterestID { get; set; }
        [Key, Column(Order = 1)]
        public int CityID { get; set; }
        public virtual ICollection<Venue> Venues { get; set; }
        public virtual ICollection<ScenicLocation> ScenicLocations { get; set; }
        public int rank { get; set; }
        public City city { get; set; }
        public int AlgorithmID { get; set; }
        public int RankAlgorithmID { get; set; }

        [ForeignKey("AlgorithmID")]
        public virtual Algorithm Algorithm { get; set; }
        [ForeignKey("RankAlgorithmID")]
        public virtual Algorithm RankAlgorithm { get; set; }

    }

}
